package com.atguigu.gmall.product.mapper;

import com.atguigu.gmall.model.product.SpuPoster;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SpuPosterMapper extends BaseMapper<SpuPoster> {
    void saveSpuPosterList(@Param("spuId") Long spuId,@Param("spuPosterList") List<SpuPoster> spuPosterList);

    List<SpuPoster> findSpuPosterBySpuId(@Param("spuId") Long spuId);
}
